package op

import "testing"

func TestAllOpcodesPrintable(t *testing.T) {
	// Iterate to the maximum instruction (Return).
	for op := range Return {
		if op.String() == "" {
			t.Errorf("no string representation for opcode '%d'", op)
		}
	}
}
